package com.coral.login.module.maya.ios.param;

import com.coral.login.module.core.base.IExchargeParam;

public class MayaIOSExchargeParam  implements IExchargeParam {

	private String orderid;//渠道订单号
	private String userid;//用户唯一标识
	private String money;//充值金额，单位分
	private String serverid;//区服ID,客户端上报，原样传回，不传默认为1
	private String gamerole;//游戏角色，客户端上报，原样传回
	private String outorderid;//CP订单号，客户端上报，原样传回
	private String outuserid;//cp相关用户标识，客户端上报，原样传回
	private String ext1;//扩展字段，CP无需理会，参与加密即可
	private String ext2;//对应客户端的transparent字段
	private String time;//Unixtime 服务端时间(到秒)
	private String sign;//paykey找技术分配

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getServerid() {
		return serverid;
	}

	public void setServerid(String serverid) {
		this.serverid = serverid;
	}

	public String getGamerole() {
		return gamerole;
	}

	public void setGamerole(String gamerole) {
		this.gamerole = gamerole;
	}

	public String getOutorderid() {
		return outorderid;
	}

	public void setOutorderid(String outorderid) {
		this.outorderid = outorderid;
	}

	public String getOutuserid() {
		return outuserid;
	}

	public void setOutuserid(String outuserid) {
		this.outuserid = outuserid;
	}

	public String getExt1() {
		return ext1;
	}

	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}

	public String getExt2() {
		return ext2;
	}

	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	@Override
	public long getGameOrderId() {
		return Long.valueOf(outorderid).longValue();
	}

	@Override
	public String getChOrderId() {
		return orderid;
	}
	
}
